Do not show the nomatch popup when field is blank and lacks focus.
Fix jshint warnings and update object definition.