allow editing of pages using jquery