Adding jshint tool
Extracting inline function from loop
Style fixes
Adding custom (stricter) jshint rules

See http://jshint.com/docs/options/
Code style fixes

Curly brackets are required, some scopes fixed.
Adding csslint tool
Configuring jshint to cover all relevant JS files
Style fixes in server.js

"static" is a reserved word.
Fixing project name also in page heading