The demo should reflect the vanilla JavaScript API