Fixes for running intern tests locally in browser.
the fix is similar to delite one, except that baseUrl is not changed