Add AJAX to add note feature in my applications.