$(() => { const oneMinute = 1 * 60 * 1000 const requestUpdate = () => { $.request('CurrentInfo::onUpdateRequested', { update: { '@result': '#currentinfo' } }) } setInterval(requestUpdate, oneMinute) requestUpdate() })