Yeah, it'd be much better to just save the object in a variable instead of querying the DOM for it just after it's defined and attached to `body`.