fix for loading info panel content (cannot do XHR on local files…)