Typescript Enum Name To String Javascript Methods