Browser compatibility bugfix for IE8.
Merge pull request #467 from smidgen/patch-1

Browser compatibility bugfix for IE8.