ready for appery

- correct event handling
- new prod-like test html