comment window.appavailability call