I wanted to know if there is any way to read write and overwrite external files using javascript or jquery or just another way to work with local data for a html/javascript app?
Not a database just a file like xml or anything else suitable for the task!
Not knowing your needs and requirements for this project I would check out local storage (HTML5). Your can read more about it at http://diveintohtml5.info/storage.html