Add js auto-refresh after 5 min of inactivity.