microsecond utilities for node.js and browsers