Javascript-populating version of T1.html.