# Pages with Legacy JS **Priority**: Critical **Impact**: Neutral ## What issues it may cause ## How do you fix it [Learn more about modern JavaScript.](https://web.dev/articles/publish-modern-javascript) ## What is the positive impact ## How to fetch the data for this report template You will need to run a crawl for report template to generate report. When report has been generated and you have crawl id you can fetch data for the report using the following query: ```graphql query GetReportStatForCrawl( $crawlId: ObjectID! $reportTemplateCode: String! $after: String ) { getReportStat( input: {crawlId: $crawlId, reportTemplateCode: $reportTemplateCode} ) { crawlSiteSpeedAudits(after: $after, reportType: Basic) { nodes { url auditId title displayValue savingsKib pageviews productOfSavingsKibAndPageviews itemsCount auditResult } totalCount pageInfo { endCursor hasNextPage } } } } ``` **Variables:** ```json {"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"legacy_javascript_failed_audits"} ```