The source project of this merge request has been removed.
endWeek JS
Converted the rest of the <<for>> loops into JS .forEach() functions. Also moved a $slaves.forEach() into the main $slaves.forEach(). Might have resulted in minor speed improvements, but we'll need further testing to verify this as I only used 9 slaves.