reformat dataStructure.js