Created notesView JS object that renders each note on the index page