To use this JS program from a browser,
you have to enter H2O, for example, being careful to type the elements
of the Periodic Table distinguishing capital from small letters (Ex.
CO2 - and Ca which would be calcium)
Having said that, enjoy yourself.
andryx06