next

- js client can register
- html test page for client
- various fixes