Fixed NCX generation, html in order of addition now and NCX nested