Hopefully the definitive solution for the JRoot/AjaxURL variables