update js range

update of range for number creation in js