JS Plugin to handle select boxes