readded the page reload after json ajax

re-added the ajax call to load json data so that the data can be
displayed in program.