Continue improving JsDoc in new media API.

(Also fixed a JsHint warning)