Added jshint config, reindent JS.