added server.js for spark