fix calls to removeRelativePath in ajaxify.js