fixed .remove() replace with .detach() for after element
Merge pull request #13 from alexallah/master

Replace .remove() with .detach() for after element