Use the developer tools to delete the element that changes on click. Then click the element that triggers the change. Since it can't be changed it will issue an error. The error will have a link on the right to show you exactly where it broke.
This should produce the exact file and function/script.
So say this is your element <div class="bob">Apple</div> and on click, Js adds style="color:red;" by deleting .bob you will break the script.
Note: Use developer tools to delete it. That way it doesn't permanently mess with your project.
Note2: Before deleting it, try just editing it and changing its id and/or class, like "xxbob", so it will no longer be recognized by the code.
styleattribute on the element, you might also be able to get a dynamic breakpoint by right clicking the element in the dev toolsElementspane, and choosingBreak on...>Attributes Modification. You might have to look up the call stack if it does hit the breakpoint to find your own code (as opposed to any potential library code responsible for the actual style change).