Which block is responsible for rendering javascript in Magento?

Mage_Page_Block_Html_Head
addJs(),
addJsIe(),
addItem(),
getCssJsHtml()