Microseconds time for JavaScript (cross-environment)