sample to use sqlite in phonegap app