Added JS function searchNamesII and tests (initial)