updated databases.js and test.html