Extract report functionality from access-lint gem into JS library.

Missing "use strict" statement.<br>Expected a conditional expression and instead saw an assignment.