jquery: allow html(JQuery)

Change the declaration so that `html()` function can accept a JQuery object as input too.