Typescript Call Javascript Function With Parameter