Revert "Update client.js"

This reverts commit 069cf322f690cb674efdba19d3fc8be145854842.