run 'last' js optimization phase if asm.js, even if nothing else to run
add final return in non-relooped asm.js output
todo