All clean up. Moved javascripts into their own files. Used ejs-locals way of referencing scripts.