fix #90 based on forum post by @bigevilbrain (http://bit.ly/1lZig4M)

Hi,

This is the Pull Request I promised. 

I have not been able to test the fix in IE8 as I do not have it at home. If you have IE8, would you be able to test this for me please?

Cheers