Fix code analysis dir.
Add jshint code analysis.
Do not check jshint if there are no js files.