alternative hrtime for in the browser