For #7, fix the memory leak in example.js by cleaning up the renderer when streaming is done.

This works for me. Maybe there's a cleaner solution. 

If the approach looks good, the README file should be updated to reflect it.