fix api.ts and adsComponentView.ts
fix index.ts and handler.ts
Merge remote-tracking branch 'origin/client_porting_typescript' into client_porting_typescript

Conflicts:
	app/public/javascripts/index.js
	app/public/javascripts/index.ts