If the current character is a vowel Find the index in Hash and Replace it with next vowel from Hash
if ( c === " " c === " " c === " " c === " " c === " " ) { index = m [ st [ i ] ] + 1 ; newindex = index % 5 ; st = st . replace ( st [ i ] , arr [ newindex ] ) ; } } return st ; }