Bug 1035553 - [User Story] Restricting mobile data usage on a per-app basis

Would you mind replaceing this check for "if (typeof callback === 'function')"