Fix edit page script loading error.