add missing lodash require to lexer.js
cleanup; attribute states; fixes (wip)