Board Thread:Support Requests - Getting Technical/@comment-24531999-20151205193601/@comment-1757994-20151206022946

Here's a solution I think will work.
 * In calc.js, add the marked lines


 * In CalcForms.js, define the click handlers as follows

Basically what this does is add a new global object named, whose members are success callback functions named after the div ID where the results go, so you can use it anywhere you use calc.js.

When calc.js displays a result, it checks to see if there's a callback function named after the result ID. If there is, it runs it. If there's not, it just skips that step, so anywhere you already use calc.js won't break (as long as each instance has a unique output name).

I'm pretty sure it will work. And it doesn't do anything shady that Wikia won't like.