Fix resources url and HTML display of JSON on main page