[preview_in_browser] Add JS Handlebars, Bootle Template, django-shpaml

- Add JS Handlebars, Bootle Template, django-shpaml which can contain plain HTML.
- Use open_new_tab() to ensure it opens a new tab.