Angular Typescript Convert Number To String Javascript Functions