Update reporting.js

complementing reporting text function