Replace getElementsByTag by querySelector for IE10 Mobile plateform.

New PR associated to https://github.com/twbs/bootstrap/pull/12088
Replace getElementsByTag by querySelector for IE10 Mobile plateform.
Benefits: querySelector is a shorter and modern synthax, it returns directly a Node.