Fix for bug where an error would occur in IE that would prevent use
Merge pull request #17 from nrem/master

Hotfix