took json out of the main.js