Fixed #47 - Create head and body elements in any case