Imported configuration files for static analysis with JSHint.

See: http://www.jshint.com/docs/options/
Improved coding conventions based on the JSHint report.