Remove unused javascript code
Interpret resulting XML with libxml2