copy select element's classes
copy select element's classes

In case of you want to add some extra classes to customSelect div, I modified the code accordingly. It copies all classes of the select element and appends those to customSelect div.
roblaplaca/jQuery-Custom-Selectbox