remove the warning fired by Chrome

when scrollTop/scrollLeft return 0
Merge pull request #1 from ben8p/documentElement-warning-fix-in-chrome

remove the warning fired by Chrome