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

Mixed double and single quotes.<br>Missing 'new' prefix when invoking a constructor.