Element.Style's reference to document.body sometimes throws error

The check for `supportBorderRadius` references document.body which may not
exist yet (if one includes the script in the `head` for example).
Merge pull request #2624 from anutron/master

Element.Style's reference to document.body sometimes throws error