Fixed jshint issues

Resolved `jshint` issues, so now `gulp` gives clean results.
kk