simplify connecdweb.pagedit.js