Another way to remove svg elements