changed code to reflect Jquery json load