Update main.js

In trying to code the dynamic content, I'm afraid I fell short. I've never used JSON before, unfortunately, and I have been trying to learn how to manipulate it, with my fairly new JavaScript experience, over the past 2 weeks and I'm afraid it might take another week or two. And in light of being already behind on getting this back to you, I'm going to stop here.