Update LineWriter.js