Renamed history variable because it's reserved in IE