Component for limiting scale denominators.
Note that the js is not minified so it is readable. See scalelimits.js.