A bit more work on JSWriter.