incorporating AJAX into code igniter basic notes app