added demo pages and some JS to auto-load them when the tool is rendered