On Twitter, Google’s John Mueller said that it is okay to block JavaScript that loads your ads, even if this causes white blocks on your website. As long as the blocked content is not your main content, you don’t have to worry about this.
Google does not recommend JavaScript for the main content of your web pages. Further information can be found here, here, and here.