fixing json ajax call 2.1