A javascript library to get the range of a given number and enables easier grouping of the numbers