A javascript module for accumulating temporal data