Precise input type=range check

This avoids clobbering <input type="number"> controls which also have
the min/max/step values.

Tested as far back as IE8
Merge pull request #40 from acdha/input-type=number-compatibility

Precise input type=range check