[php js] enabled calculations on dynamic tables