recapitulatif.js - moved resources from local vars to scope properties