Restoring mdb.js