Create ratchat.js