added reporter.js

This would close issue #92.