resolve a url properly by requirejs.toUrl;