Update Dimensions component to use jQuery to detect height and width