Update datagenerator.js