change "always" event to "complete"
fix demo.html