stage_parent fixes
fix escaped strings in javascript
html_safe html generated by us