convert coffe script changes to be typescript
commit updats