Cleaned common.js

- remove cache management, which was inducing bugs in charts update.
Json file is reloaded entirely at each page refresh
Changed chart refresh code

- the whole page is no longer reloaded, but a task periodically reload
data and refresh chart