Separated Javascript into separate file (see urlQueryScript.js)