Provides two classes: HTML_Javascript for performing basic JS operations. HTML_Javascript_Convert for converting variables. Allow output data to a file, to the standard output(print), or return. WWW: https://pear.php.net/package/HTML_Javascript