Fix how we wrap the global timing functions to work with IE.