remove cdata tokens when filtering javascript
detect cdata in html and use XML fragment parser.
remove haml namespace in erb tags
use next_sibling instead of next_element

since XML::Text is not a type of XML::Element
fix cdata indentation issue
rename strange test, added test for natural use case