Cleans up server.js to remove unused requires
 - fixes #531