Link shortener in Node + Mongo