Updated the Java script and redirect pages

Updated the comments on the JS and the good redirect pages