Close #5088 - Fix usage of document.body.contains, check if browser supports this method(ex. ff 3.6)
Polyfill contains for older browsers
Merge pull request #5240 from trek/fix-contains-on-older-firefox

[BUGFIX release]  Fix usage of document.body.contains