styling for categories and js