[web/test] Fix reset of loaded JS/CSS files [applied]