Support IE10+ instead of just IE10, added test for IE11
remove unnecessary "var "
Merge pull request #211 from philklc/v2.0

Support IE10+ instead of just IE10, added test for IE11