Fixed problem from #75 (file:// URL hitting origin restrictions)