Update findreplace.js

verified coding style with phpcs