Promise as global instead of using a specific promise implementation