title: How do you extract the javaScript code from a webpage?
body: <p>I've to refactor a bunch of html files containing a mix of html and javascript code.
  I'd like to isolate the javascript code to be able to use various tools (for instance gjslint).</p>
  
  <p>Is there a tool to do that automatically ? (I did search but wasn't able to find anything, maybe using the wrong terms.)</p>
  
  <p>thanks... </p>