use single image instead of url data

- add `replace` API
- add mojis folder and images
- add bower.json
- rewrite some code