Updated the js directory
Rebuilt the script.js from the ground up.