demo.js very well worked out! Events support improved, added support for pseudo-scene-names: element:state