rename back to ir_to_js -- it is just more readable. also, do not bother storing numbers or arguments in temporaries.