adding an addon postprocess hook for all javascript
extensible whitelist filters