Created Custom showNotes() Function in ajaxScript