added mongoose and fixed jshint