Add jshint to gulpfile and fix jshint warnings