Add JS check if you leave the content form, add better support for URLs from JS-based editors