Option to make all styles CSS or just when optimal