More deployment stuff.

Also added js file to run the thing in localhost and updated shell scripts accordingly.
Now jshint also runs on deploy/**/*.js.