added applicationCache event listeners