Clean up white-space, comments and jshint errors.