Style Collective management in javascript. You can solve the 'double definition of style' in  javascript and css.