add logging and catch possible exceptions from navigator.mozMobileConnection