add minimalist client-side testing

We could do something fancier like serving the page through Node to automatically include the client-side scripts, or through Gulp to automatically run on file changes, but I think this is easier to understand for beginners.