Fix Uncaught HierarchyRequestError: A Node was inserted somewhere it doesn't belong.

Basically a jquery element trying to append itself
Merge pull request #1 from aleray/master

Fix Uncaught HierarchyRequestError: A Node was inserted somewhere ...