made previous patch test for 'getElementsByName' method before using it in-line, this handles host objects missing 'getElementsByName' which is necessary for the GEBID feature test, shortened declaration for the isQuirks flag (kangax)
made previous patch test for 'getElementsByName' method before using it in-line, this handles host objects missing 'getElementsByName' which is necessary for the GEBID feature test, shortened declaration for the isQuirks flag (kangax)

dperini/nwmatcher,dperini/nwmatcher,dperini/nwmatcher