1) generalized inclusion of js libraries in response html for portable/linked version
2) forms validation in explain.html
3) fixed typo in web.xml