add ajax notes to javascript