JSON contents and change of used JS files by clicking the proper submenu