TypeScript to Js