Use colorbox if fancybox is undefined
Add X-Requested-With headers to ajaxSubmit requests