Issue133 - jQuery.ajax HTTP method set as "type:", not "method:".

Set the HTTP method using the `type` attribute (instead of the `method` attribute), as defined in the [jQuery.ajax documentation](https://api.jquery.com/jquery.ajax/).