Fixed getElementsByClassName check.