attached deviceready event to initContacts, added more alerts for debugging
making sure new changes to index.js are picked up