A url controller in node/express/socketio/mongo/bootstrap/jquery