working around IE8 bugs so that voting works there