remove some csp warnings

@ussuri, address some console log warnings related to csp mode.