fixed #217: contract history buttons not working in IE7/IE8
Merge pull request #243 from jroo/ie_fix

fixed #217: contract history buttons not working in IE7/IE8