for loop max performance for large arrays. Save to Sublime Text 3/Packages/JavaScript