add option to not emit AST in js optimizer
comment
refactor asmLastOpts to be called explicitly
add general FINALIZE_ASM_JS for modes that need to avoid finalization, like side modules