#3 refactoring of the javascript respomsible for the update of the monitor
#3 Refatoring of the dbmonitoring.js , separation of responsibilities