remove client-only scripts