Fix IllegalStateException in IE11 in Ajax extension.
Merge pull request #24 from mseddon/master

Fix IllegalStateException in IE11 in Ajax extension.