Update digitCapacity.js