I solved this problem.
I observed that as we copy paste the contents to excel sheet, HTTP requests are sent to the server to fetch the js and css files. (thanks to the tool Fiddler which helped me intercept the requests)
We did a few changes in the filter, which solved our problem.
Thanks
Venki