Initial commit of separated javascript

Added the current Javascript (doesn't use jQuery) to the site.js file