Adds svg mask and pattern dom components