Update reporting.js

inserting condition depending on current p-value