Put JS in Chat view