Added support for custom html as option text

I added an option to support a custom html for the option's element innerHTML, to allow more flexibility.