Add error checking to $tw.utils.setStyle()