Wrote renderNote function to DRY up notesView object
Reordering notesView object to make more readable
Styling index page