master modify index.js and json files