Add document method addEventListener