Question under consideration: How to debug obfuscated JavaScript?
This question is marked as a duplicate of an earlier question (How do you debug through a compressed javascript file?). However, the newer question has a much more useful answer as the accepted answer. The older question's answers basically say "You can't. Don't do that," while the newer question has more useful tips. I think this is due to the nature of the two questions being very slightly different. In the older one, the developer is in control of the source, which gives them better options before deploying code. In the newer one, the developer is not in control of the source, which means they have to get more creative. I think the answer for the newer question is also applicable to the older question.
What kind of cleanup (if any) should be done in this scenario?