I have created a new child process which will execute user submitted javascript. after chrooting node's vm module is not working.