Testing phonegap with jquery