Typescript Get Property Name In Javascript