Update bean-writer.js