changed path to json files in main.js