Added support for additional parameters in custom ajax call.