Add javascript code template to show comments. close #2