Bug 24741: Part1: Fix references to html5 and remove any distinction to different html versions
Bug 24791: Part 2: Update references to Document instead of DOM
Bug 24634: Body element MUST be displayed