removed debugging gubbins in databases.js