Update mongoose version

The following changes have been included:
 - package.json: Update Mongoose version
 - stMedal.js: Fix d3 global variable
 - server.js: Change some logs