Fix undeclared variable error when using older browser
Merge pull request #28 from arcanis/patch-1

Fix undeclared variable error when using older browser