Sorry, I am still not getting this - if the data is local then why not run the app on a server running on the local machine.
Alternately you are trying to access local personal data using a remote app - so you need Google's or HTML5's support for a local database (SQLight I think but in a wrapper).