Finished the 'For' Loops in JS