Fix missing dropdownCssClass on init

Fixes issue #1615 where dropdownCssClass is no longer applied.
Merge pull request #1617 from forby/master

Fix missing dropdownCssClass on init