Pages: fix the ajax actions with namespaces