Fixed small stuff caught by jshint