How can I use select2 with MathJax?

Is it possible to make select2 work with MathJax, having TeX equations in select options?
Straightforward way do not work, e.g.:

<select name="test" id="test">
    <option id=5>\( \frac{-b \pm \sqrt{b^2-4ac}}{2a} \)</option>
    <option id=3>\( A^\pi \)</option>
</select>

$('#test').select2()

Only the first option is rendered by MathJax, as an equation, and combobox size is calculated wrong
But I suppose there should be a way to do it.