Worked on ajax and json.
Added test function for ajax request test()].