Update sql.js

only few changes were made (several lines) without changing the logic for other functionality but for the "find and replace feature".