JS docs: put `transitionEnd` within <code>