Clean up multiswitch

Using a ternary operator instead of an if statement because it makes
better sense and is more elegant. Using change instead of click events.