update apm and npm packages, add jshint