Why ``1e6`` number value? Is this arbitrary?
If you just want a high value, you can use ``Infinity``, else you could use a meaningful javascript constant that would be set to ``1e6``.