Use detach() instead of remove. Fixes #543
Merge branch 'master' of github.com:Craga89/qTip2