Add support for IE7 and lower using location history