Fixing IE8 bug. Tagging v1.3.1.

Fixes #329.