Added AJAX callback on Game Over

This commit has been tested and deemed stable

-Added callback to Game Over on app.js
-Added emitting callback to app.js in stable.html the actual game.

Other:
-Added mongojs module in package.json