Fixing jquery json issue