majax return changed place of variables