Factorial accepts parameter in html script now.