added jquery-mobile support and quick test. moved database connection to
deviceReady event.
modified delete and modify routines for further testing