When you delete the last group, it actually gets deleted, rather than just being cleared. We don't need the HTML to be there for duplication anymore, as it's now stored as a string in the javascript. This is probably better as well because there won't be a hidden blank field that wordpress might read.

Fixed non-functional clearGroup (even though it isn't being used at the moment)