Entries and pages: Replace AJAX with Ajax

Fixes gh-214