Discussion bot javascript correction's