ajax calls on yahoo api