Fix #220 invalid html tags generated

Because the createHtml used previously the XMLGenerator
of Strophe, it assumed <br> to be a real tag (<br></br>),
therefore it didn't work out.

Switched now to some jQuery stuff (not beautiful but it works).