title: Skip particular Javascript execution in HTML unit
body: <p>I have a URL. I want to fetch Page-Source of the URL after executing Java Scripts. </p>
  
  <p><a href="https://stackoverflow.com/questions/14396052/fetch-page-source-using-htmlunit-url-got-stuck">Fetch Page source using HtmlUnit : URL got stuck</a></p>
  
  <p>Initially I suspected that it is due to system resource and High CPU usage, that the URL is getting stuck.</p>
  
  <p>Then I tried to run it on HTML UNIT 2.9 and 2.11. It got stuck on both while parsing. Refer <a href="https://stackoverflow.com/questions/14396052/fetch-page-source-using-htmlunit-url-got-stuck"> the above question for HTML UNIT code scrape that is getting stuck</a>.  </p>
  
  <p>Now I am suspecting that this might be due to JS Execution going into infinite loop. </p>
  
  <p>I want to check what JS files are causing problem and remove them from execution. </p>
  
  <p>If they are JS for sites like google analytics, twitter etc, I may not need them at all. </p>
  
  <p>So I want to find a way to tell HTML Unit to ignore certain JS file and execute the rest. </p>
  
  <p>Does anybody know how to do that ? </p>