added note about caching dom elements