add legacy JS
read xml_content and find footnote
remove footnote function