emit ready event on app