Update dimensions.js