converted new note to ajax
rubocop --auto-correct prettied up files