* Preview the editing note

* Discard local changes of note
* Add client.js