indentaion corrected in client.js