fixup 414431e for old browsers without history api