Create notes using codeigniter and ajax