Ajax call fixed. add .json to url