KRACOEUS-7127 : Refactoring JS to match new standards and reworking CSS ...

...to match.