Rewrite inline editing, drag and drop upload, and insert textblock javascripts