Revert "- JavaScript Switch snippet"

This reverts commit d2fa6f76b8ae33eb89bda45161c21dd8a35ca983.