Added an example for reading input interactively with Javascript.

Implemented an interactive page to compute the factorial of a number to demonstrate event driven browser programming in ATS.