Utility for finding repeated blocks of code in javascript file