edit main.js, add test.js to pull json into index.html