Updates to index_demo.html for callbacks and such.