Added chosen for multi-selects
Refactored code out of selects into general use functions