Create WriteQueue.js