remove hash from url before path processing
fixup HTMLImports test