renamed client.js to helpers.js