Generating Text Styles Javascript Source Code