Hi Anurag,
Could you be a bit more specific to your use case
As far what I see it you are making a ajax call via JS which return you some list object. Now this creates a bit confusion, AFAIK for JS there is not list. It can accept JSON, XML, TEXT, HTML etc.