Fixed some jshint errors