added functionality for saving the notes
fixed a bug in chrome that caused improper loading of notes