Fixed breaking client.js in Chrome