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

document.getElementById would return results as if the id was never changed