Explore the intricacies of Counting Sort, a non-comparison-based sorting algorithm ideal for sorting integers within a specific range. Learn its implementation in JavaScript, analyze its complexity, and understand its practical applications and limitations.