Added ie detection, and put history back in where browser is not ie9 and below