midway through submit stem ajax