AJAX getJSON test
Wrote some JS in mainpage.html which returns JSON objects contents