Fix apply error on <IE9
Merge pull request #10 from philhaz/dev

Fix apply error on <IE9