Typescript Html Number Formatting Javascript Compiler