Magento get js url : You can get the js url in magento as following.
Magento get js url Syntax
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS);
Which Will Return the Js url.
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS);
Which Will Return the Js url.