html/element: use #pop instead of #delete in #[]