title: Unexpected identifier 'data'. Expected '}' to end an object literal
body: <p>I cannot seem to figure out why I am getting the unexpected identifier error when I try to load my page. Says the error is on line 8 where it says "data: JSON.stringify({". Unexpected identifier 'data'. Expected '}' to end an object literal.</p>
  
  <pre><code>function getToken(streetlytics_username, streetlytics_password){
      var streetlyticsToken = " ";
      $.ajax({
          url: "hhtps://api.streetlytics.com/getToken",
          dataType: "json",
          contentType: "application/json",
          method: "POST"
          data: JSON.stringify({
              username: streetlytics_username,
              password: streetlytics_password
          }),
          success: function (data) {
              streetlyticsToken = data.token;
              $("p").append("Streetlytis Token = " + streetlyticsToken);
          },
          error: function (){
              alert("Error");
          };
  
      return streetlyticsToken;
  }
  </code></pre>