Changed return values for width from string to number.