Remove old dead find related code from viewer.js

This PR removes old dead find related code from viewer.js. As far as I can tell, this code has been unused since PR #2168.