typos and jshint stuff