I've seen JS beautifiers that re-indent minified code, but jsnice is much smarter. It infers useful variable names! https://www.jsnice.org/