updated ajax notes with a vanilla example