expose global uPromise for browser tests