Add .jshintrc file and fix all JSHint errors

Use `gulp lint` to run it.