Undo div changes to li