fix hardcoded URL in client.js