add the worker scrip for JS