Use correct URL in alias_preview_ajax_handler() JS function when creating pages

Issue #4481