Extended demo page to include variable callbacks.