Use full urls for the AJAX scripts so that links work in other contexts ...

...e.g. third party modules.