phonegap try resolve test