some pedantic stuff; prefer explicitness

There is one bugfix in here, server/database.js#54, callback was firing twice.