Find Longest String In Array Javascript Iterations Def