cleanup JS memory for blocks, closes #44
Merge pull request #113 from jhaynie/master

cleanup JS memory for blocks, closes #44