Added ability to handle custom jQuery settings for ajax