fires when recalculation of formulas in the sheet is complete
$$("ss1").attachEvent("onMathRefresh",function(){ // your logic });