Fix JSHint scanning
Fix warnings
Merge branch 'master' into jshint
Merge pull request #486 from 28msec/jshint

Fix JSHint scanning