Fixed a globally leaked buf in generate.js
Merge pull request #30 from kmpm/leaks

Fixed a globally leaked buf in generate.js