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

Expected an assignment or function call and instead saw an expression.<br>Missing semicolon.