Q1: add confirmation to comment edit form

When closing the comment edit form without saving after text was
changed, ask the user for confirmation if he really wants to lose
changes!
Q2: add require.js and rewrite project using AMD pattern

Create AMD modules from the existing javascripts in the project,
rewrite the application start using require.js
Q3: prevent simultaneous forms

Make sure that only one comment form can be opened on the page
simultaneously. Before opening the new form close the existing one,
combined with the solution from the previous question.
Q4/1: pre-render some comments

"Pre-render" some comments on the page, make sure all the existing
functionality is available.
Q4/2: create separate method to add new comment

The render method in CommentlistView is not very practical, what are
the issues with it, and how would you improve the code?