Create js file for update Discussions