fixed notes_ajax.js so success function is called