add offsite feature using phonegap websql database