Currently these optional parameters get passed as parameters even if they are not defined. The scenario produces different results 1. &jht=undefined&jsa=1 2. &jsa=1 The first one produces html table as response and the second one return javascript as response; even though they are equivalent