DOM API

The events carry timestamp of their creation. As we allow wrapping of several ways to obtain timestamps, we need to provide the same precision for the Event API.