Handle non-fully qualified ajax calls

Resolve per url.relative rules