Fix switch case
Merge pull request #3521 from guardian/foresee-js-switch

Fix switch case