Avoid protocol relative URL to support apps using file protocol