basic framework for html, javascript works