ajax requirements