[WIP] pluggable diff function

Trying to make string diff function pluggable to customize diff function with ease.

- [x] make diff function pluggable
- [x] README
- [x] rebuild web bundle
- [ ] refactor