removed indexOf() and getElementsByClassName() for super backward compatibility.