trying to create mercury DOM builder