DOM4 Element.remove() collides with my remove() function