Modified to accept placeholder option and default value option. Also modified behaviour to not select first option as default or set the first option without a value attribute as a placeholder
Removed commented out lines that are no longer relevant