admin main js: added data-onsubmit handler
template editor: bugfix related to ace editor
form2: ace editor up