CRUD simple phonegap