example code onSucess function error

change navigator.contacts.length to contacts.length