My Problem
I have multiple JS scripts that are very large. Each script is for a different page of a 10 page website. Each script contains about 90% of the same code, but the 10% is page specific. The code is jumbled up and about so it's not as easy as just removing a-b-c.
My Question
Is there a software or method to remove the duplicate code from scripts, js or other, without removing unique code?