fix javascript click event bug (ie)