Better history support for firefox