lindenmayer.js refactor, fixed stats