in reply to javascript interpreter in perl???
CGI has some javascript support - refer to the docs.
Regards, Darren