fixed is_internet_on_old()

the search string was being sliced, applied the slicing to the html object

clean the if else