Cleaning up cloud_server.js