missing local variable decl was causing collision with global "item" var in IE