js file for the report tabs