added js files for mongoDB