Integration with AXEL library : added mandatory myDoc parameter to select2 to pass the document of the select element (note that we could use instead ownerDocument property), this way the library can be hosted in a parent window to enhance select elements inside iframes; fixed two bugs that prevented it to run over an XHTML document : &nbsp; must be replaced by &#160; and there was one <input> without closing tag.