Datepicker issue after upgrade

If datepicker on field, stopped working & in console log showing error :Refused to execute script from ‘http://localhost:52025/locA.locB.Reports.Web/Reports1/Reports1/~/Scripts/Reports2Refund.js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.In this case how to work on the issue?

It showed error & datepicker is not working