when loading spec from URL, treat script file paths that are not URLs as being relative from the spec file URL