remove legacy js

Adding a comment to a discussion hides the 'start a new proposal' prompt.
Pivital #58371170