Added 'check' function to gulp, which use jsHint

Installed gulp-jshint
Added 'check function'
Js files are validated according to idiomatic.js