adding jshintrc
fix watching on gulpfile and add jshint
adding gulp watch as dependency
improve js code for better understanding