Use fs.readFileSync() to easily embed externalized jQuery Javascript code into the report page.