Add .jshintrc, fix jshint warnings

Signed-off-by: Jesse Stuart <jesse@jessestuart.ca>