Advanced obfuscators mess with the logic flow; high-end deobfuscators attempt to straighten this back out.
This is currently the industry standard for static analysis of heavily obfuscated JavaScript. javascript+deobfuscator+and+unpacker+portable
Here’s a curated list of tools and techniques – all client-side or standalone, no installation required. Advanced obfuscators mess with the logic flow; high-end