Added JavaScript to refresh home_page and system_page every five seconds.