Update writer.js

Removed wrong line. `start` is not not defined in this function.