JavaScript has nothing to do with Java. They are completely different languages and environments.
Anyone who codenses candidates down to a “score” or a "number is doing it wrong.