added javascript statcalc to countingj.htm