TypeScript applied for client side JavaScripts