.jshintrc + fixed the problems jshint complains about.