trial for phonegap