How to use schat.js