Added an example for reading input interactively with Javascript.