js: added thread updater