Use .detach() to keep jQuery events and data associated with elements

.remove() helpfully kills them all.
Use $( [] ) instead of $() to create empty jQuery node list

It seems to be a more standard convention and is less clever,
which is always a good thing.