output json data in html instead of ajax