fix select2 csp errors / warnings
Merge pull request #2151 from dhardtke/csp_fixes

fix select2 csp errors / warnings