Merge pull request #9 from chelm/master

Fixing license smell
Bug in code in IE9

Allows code to run in IE9