chrome sometimes evaluates JS in a VM and js that is evaled or crammed into a script tag manually will have filename anonymous. this results in an invalid network request for the source. would be best to just check for filename === '' and not do the fetches