refactor out lastOpts in an optimization pass
add FINALIZE_JS option
c_backend.py and cIfy js optimizer pass