IE8 Doesn't like changing input type with jQuery