Add example for single page app
significant updates

Were this a serious project, I would spend serious effort making good
commit messages.