Avoid missing default in switch statements (Javascript) | CAST Appmarq