changed back to phone gap v2.2