i had the same problem. i think it's because you have a control with the same id as what you're trying to assign.

so if you have

<div id="person"></div>

then IE gives an error when you say person=somethin g;

when you say 'var person' it makes the variable local....