assert on vars being in front of functions straight out of the js compiler
move heap align checks to asm2g, keep -O1 pristine
run js optimizer only in -O2+