still just using js, but chat works