Tweak to ajaxurl usage in public forms