Added JS function findMissingNo and tests