Create Batchat.js