Remove internal isNative function. -10 bytes.
Don't use frameElement property. Fixes #13980. Closes gh-214.