ajax bugs fixed. can now delete all notes, and add new note and will work.