React Change Css Variable Using Javascript Innerhtml Not Working