applications/luci-ahcp: rework status javascript to use XHR.poll()