Javascript Map Array Of Strings Length