add question.onVariablesGenerated(fn)

You can add a callback to run when the question's variables are generated (but before the HTML is generated)