fix for footer javascript
load traditional SW js only when necessary