Typescript Get Css Variable Mdn Javascript Events Onload