Replace ES6 modules with CJS and browserify
README: browserify
Add unit tests (node + JSDOM)
README: tests