Javascript fixes for comments and answers