added html layout and getJSON