Remove deprecated onicechange method. Replace deprecated ongatheringchange with oniceconnectionstatechange.