Baking of the AJAX URLs is done a bit more elegantly