in case params not set

Getting undefined error if params not set for request
change this to `ajaxConfig.params = ajaxConfig.params ? ajaxConfig.params : {}`. jshint is failing. It doesn't like this type of assignments.