ie8 quirks handling
Merge pull request #4 from jkgit/compatibility

ie8 quirks handling