renamed client.js to agent.js