Remove ajax chapter loading code from the editor