js: thread updater/watcher fix