added client.js and server.js