replaced js styles with CSS classes instead