Change to use document.documentElement to prevent error when document.body is undefined
v0.4.3