setContent() with a jquery selector

Hello,

I think there is a little mistake in case of using setContent() with a jquery selector as argument.
It produce a javascript error: "Uncaught TypeError: Cannot read property 'appendTo' of null".
Merge pull request #21 from vancromp/patch-1

bug in method setContent() with a jquery selector fixed