added a simple callback to help with the demo
demo and gh-pages files