Here's the code behind this page:

<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
  <meta charset="utf-8">
  <title>Mashape Query</title>
  <script>


function doIt() {



var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://simple-weather.p.mashape.com/weatherdata?lat=38.5617255&lng=-121.5830002",
  "method": "GET",
  "dataType": 'json',
  "headers": {
    "accept": "text/plain",
    "x-mashape-key": "EF3g83pKnzmshgoksF83V6JB6QyTp1cGrrdjsnczTkkYgYrp8p",
    "cache-control": "no-cache",
    "postman-token": "b7749bad-64ce-cf58-438b-40c5c53bf32b"
  }
}

$.ajax(settings).done(function (response) {
    console.log(response);
    document.getElementById("output").innerHTML = response.query.results.channel.wind.speed;
});

}
</script>
</head>

<body>