Adds jshint gem
JShint cleanup

Cleans up JavaScript according to JSHint.
Converts tabs to spaces