JavaScript engine in perl