Fixed some typos, jshint complaints