General solution for FOSCommentBundle js.
Merge pull request #97 from umpirsky/comments-js

General solution for FOSCommentBundle js.