fix losing inUnit state in lexer.css.js, add style