refactoring of the client js : sclicing of miaou.main.js in focused files
minor style changes