Change Css Variable Using Javascript For Navigation