Revert appendToMongo.js