Fix comparison of keys.
Cosy is global and fixed.
Update sends patches through the network.
Connexion using JavaScript.
An example and some global stuff for JavaScript.
Move JavaScript parts to connexion.js.