Being a bit conservative here 

else if (navigator.mozContacts && navigator.mozContacts.getSimContacts)

 (Don't know if we already checked for the mozContacts api)