make sure document.body exists
Merge pull request #3445 from guardian/fix-is-breakpoint-bug

getBreakpoint bug: Make sure document.body exists