Fixing bug where main x2db.js was requesting for write2.js, should be write.js