minor changes in cbl-database.js for android