(bug 16459) Use native getElementsByClassName