Add Date.now() if it's not supported.