luci-base: luci.js: fix `LuCI.request.poll.add()` exception handling