Fixed history to work in IE.