bugfix: escape js string in a template
Merge pull request #3005 from ollb/bugfix/escapejs_page_tree_base_html

bugfix: escape js string in a template