can js chat example loaded but not working