Revert the Chai integration (should do it only on the client)

This reverts commit 97d6187b460bdd51b7e8ffe845ff616f594369d3.