added integralByInterval to js composer