editing test2 js to figure out the right call for weather api