add ajax call to forecast.io