dropped majority of phonegap code in favor of their example on contacts (simpler/less code) and fixed a css issue.