Separated JS from HTML file in Binary Search exercise.