update to better-dom 2, use boilerplate
fix tests, use more ES6 stuff