verify that chosen is instanceof Chosen, fixes #1914
Merge pull request #1924 from harvesthq/gh1914-allow-init-with-data-attribute

Verify that chosen is instanceof Chosen, fixes #1914