Move some static text properties from JS to CSS.