ontime 1533

Fixes problem with ajax calls breaking when calling urls beginning with double slashes when window.parent.Drupal.settings.basePath == '/'