new file client.js