build select element in an IE8 compatible way, fixes #21