Listen to resize and fontresize on window, not document.

This is basically the code from @MarcusPope's issue: https://github.com/ginader/HTML5-placeholder-polyfill/issues/31

We had the same issue in IE8 with jQuery 1.9 as others reported, and this resolved it (along with including jquery.browser to replace that functionality which was removed in jQuery 1.9)

I've not tested this on a huge range of browsers however, as I don't have access to them, but from what Browserstack gives me access to, it looks good.