You need to append unit to the newFontSize, not just the number.