[minor] Fix grammar, and add comments in JS part.
Moved the javascript to the end of the page for faster loading.

http://elegantcode.com/2010/03/30/your-javascript-goes-where/