change js for s8 chat