Update reporting.js

trying to make reportingText a global variable