Added missing updated of statjs calculation.