change "remove" call to a "$el.empty"