Assume that body exists when receiving events.

Also, use document.documentElement.style to detect vendor prefix.