[javascript] Switch statement multiple cases in JavaScript