Refactor reporting view using underscore.js

Also convert from DOS to UNIX line endings