use it to check if function created
// function debugging (ajaxSubmitFormForPdf|| function () { console.error(arguments) })();