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.
no problem. changes have been made and submitted.