adds div anchors to treex

note: <a id= needs to be subst with </div><div id= in source