DOM API - make `elem` first arg