improved gh-pages demo