Smallest Positive Integer Not In Array Javascript W3schools