add html full text and js jasmine-style test case snippets.