Added save, load, and other code to index.js, updated index.html