Convert select and select multiple to html drop down