define styles in css; use Javascript for class only