Doing some code refactoring/cleanup. #31
Removing javascript from page.php and putting js in a serpate file. #31