Using the switch Statement: a JavaScript Example