Moved JS code into seperate directory.

Created a new 'js' directory to hold JavaScript code. Changed HTML file to reflect change.