Why not remove this line and use `.getAttribute?()` below?