I try to execute a long run function from my main javascript file. I have 2 cpus so how can I just fork a function ?