iOS/Safari support, resolveLocalFileSystemURL, allow debugging in Chrome