[javascript] Go to "next" iteration in JavaScript forEach loop