IE does not support const, use var instead
Merge pull request #1 from carelvwyk/fix-ie-not-supporting-const

IE does not support const, use var instead