Fixed bugs
Fixed style on db.js
Changed db.js API to Node.js style
Adapted signatures to use Node.js-like callbacks
Importing files inside WebWorker (not working yet)