Phone gap plugin sample1