Added in a little hack to get it working in IE9.

I think a better solution is called for, but this is more of a proof of concept for IE.

Squash this commit out before sending a PR upstream.