CB-7892 XHR to local files poly should only load/run once

Fixes angular use case