Rewrote the whole JS to manage issues

New code in class mode.
Use jwerty to manage shortcuts