remove jquery dependency, allow html nodes as content

Straightforward.
I will merge this in 1-2 days if there are no objections.