Revert "Update client.js"

Reverts InfraRaven/spooks-chatjs#189