a better Pratice for using phonegap contact plugin