Fixes to deployment file, and a fix to a file that seemed out of place in assets/javascripts