Update addressFinder.js

Check for type of element (to ensure HTMLInput) modified to work with IE8.