Support for .ts files displayed in browser