t>

    $(function(){
      $(document).on('beforeAjaxSend.ic', function(event, ajaxSetup, elt){

        // Add a parameter
        ajaxSetup.data = ajaxSetup.data + "&timestamp_from_javascript=" + new Date().getTime().toString();

        // Add a custom HTTP header
        ajaxSetup.headers['X-My-Custom-Header'] = "A header value";

        // Cancel the requests if the "Stop Request" checkbox is checked
        ajaxSetup.cancel = $('#stop-request').is(":checked");

        // Add some custom data from t