fixed jshint, fixed lint issues, upgraded packages