Safe way to add style to page