Fixes #555. The testcase in the issue isn't entirely correct. If the </title> tag is omitted, the <p> tag is actually in the <title> and won't be picked up by querySelectorAll. Tried to replicate the original test case as closely as possible, verified with Chrome.
See http://blog.jquery.com/2014/07/03/dont-use-jquery-latest-js. This makes the parameter list more reliable (as the URL is no longer optional), and updates the invalid-argument behavior to hit the error path (with no jQuery) instead of the default path (with jquery-latest.js).