Update ranges.js to use boundaries.js