* fix bugs in db.js
* enhance model.js
* update version number.