Removing dom declaration