Tests for multiple match values.
Pass true to cloneNode calls. (Was this a browser update? I'm sure this was working before!)
Removed debugging console.* calls.