added chattest.js