bug 850840 issue with id attribute on body element

this is a fix as discussed in bugzilla for bug 850840 - issue with id attribute on body element.