Update edit page to make it work on dojo1.7