$.ajaxSetup call and jQuery.trim fixed
jQuery.trim in toolbox fixed also