Fix IE9 issue
Merge pull request #14 from steve228uk/master

Fix IE9 issue