fix an issue with the closure compiler in lex.js, and be more careful about default values for compiling lambdas