Separated JS from HTML in insertionSortPRO exercise.