Set usePromise for doc loaders based on Promise API availability.