Moving some logic to Cogestione.class.php; fix for VM JavaScript