Javascript Modify Css Class Inheritance Python Definition Syntax