[code] fix yapb support in ajax call