Fix ajax CORS check

the CORS check raises a HTTP 500 error because it is called on the BrowserView URL not the context URL ... this fixes it