IE<=8 compatibility

https://www.pivotaltracker.com/story/show/61335464