And this way?:

icc = window.navigator.mozIccManager || window.navigator.mozMobileConnection.icc;