JS Range object

Usage: "for (var coord in new Range(sel.minX, sel.maxX)) ..."