fixed match type bug

Different engines see absence of a match differently (either as an
empty string, undefined, or either one).  Because “” and undefined both
type coerce to false, existence can be checked without explicitly
asking if(param!==undefined||param!==“”) //do something.  Instead, you
can ask if(param), or if(!!param).