Beginning to fix Sample-main.js so it can store data, beginning Project 4