Fix for <= IE8
Merge pull request #16 from gdscei/master

Fix for <= IE8