event target isn't defined on ie8