JQuery fixed, but update_pages_order js must fully rewrited