Update note.

It is possible now to update a note using the form.
Some jquery changes have been made regarding clicking elements.