initial html and javascript untested