fix for https on html5shim