backwards compatibility with IE7
Merge pull request #1 from jpsilvashy/master

Backwards compatibility with IE7