BUGFIX: re-enable CDN js debugging in a robust way

May be disabled if needed via site setting