Fix IE9 bug

![POW](http://i.imgur.com/erYLM.gif)

With thanks to @jamesgorrie