Initial commit of html and js files

NB: scripts.js does not presently work.
Add functional tests for script.js