Change RequireJS baseUrl from /resource to resource for WebView loading