[luci] Auto refresh syslog

Hi, Team:

I am developing IOT gateway on OpenWrt 19.07.2. I would like to implement the function which syslog can auto refresh on web, but now syslog is static unless you refresh your web. I found that i need to modify syslog.js(~/openwrt/feeds/luci/modules/luci-mod-status/luasrc/view/admin_status),but I can't understand node.js :

 Copyright 2008 Steven Barth <steven@midlink.org>
 Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
 Licensed to the public under the Apache License 2.0.

<h2 name="content"><%:System Log%></h2>
<div id="content_syslog">
<textarea style="font-size: 12px;" readonly="readonly" wrap="off" rows="<%=syslog:cmatch("\n")+2%>" id="syslog"><%=syslog:pcdata()%></textarea>

Somebody can help me? Please

Best Wishes!