Update range_check.js

allow ip address in in_range check