Made jshint unhappy again (fixed errors)