Forgot jshint, solved a couble of errors