Resolved InvalidStateError bug in IE10+. Fixes #37.
Merge pull request #38 from toolness/master

Resolved InvalidStateError bug in IE10+. Fixes #37.