intermediate version of the html/javascript app