refs #272 - Inject the ajaxurl into the front-end