Create datagenerator.js