Add demo, add event handlers to appcache.