Fix a problem on Safari/Chrome where docuemntElement.getFirstChild is not necessarily the head element. Patch by: dwolf Review by: jat git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@6025 8db76d5a-ed1c-0410-87a9-c151d255dfc7