increasing browser compatibility by calling Promise[finally]