changed script.js to client.js