The edit form for pages is split into two. One for the content, and one for the metadata. Because of this, the AJAX handlers didn't know to load the correct files, and threw function not found errors.