added provition to use all options provided by jQuery ajax