Use burp's JS static code analysis on code from your local system.