added pointer to multithreaded js script