Removed dom dependency from jvm shared target