breaking out a report_index.js file..