Add .jshintrc/.jshintignore

Hopefully this will prevent some lint errors/warnings (use similar
MediaWiki settings)

Change-Id: I6c901a0bb43b909b3f20ae5736424872635b95cc