Fix for changing id's on attached html <option> elements

document.getElementById would return results as if the id was never changed.

I stumbled upon this while trying to fix a different issue ;)