Refactored server side js files to comply with jshint
- removed require on `monckgoose`