Make jsagent spawn workers

JSAgent spawns workers as backgroudn processes and monitors them.