readme update
Reformat JS code style and refactor some JS pieces
Fix initial emptiness bug
Merge pull request #11 from killthekitten/fix-initial-emptiness

Fix initial emptiness
Add control buttons to be able apply/cancel result
Merge pull request #12 from killthekitten/feature-add-controls

Add control buttons to be able apply/cancel result