Fix the issue of GenerateJSCode.php to work with PHP 5.2 again (version 4.0 only)
Merge pull request #57 from msyk/fix-compatibility-with-php52

Fix the issue of GenerateJSCode.php to work with PHP 5.2 again (version 4.0 only)