Initial work on getting html forms and javascript working