fixed hostname in client.js