Update reporting.js

be careful: has not been tested => adding post-hoc test