I am trying to add a custom js file into my catalog product view page but the same is not happening.
I placed my js file inside skin\frontend\default\ucs_personalization\js\personalization.js
And below is the snippet of layout catalog.xml
<catalog_product_view translate="label"> . . . <reference name="head"> <action method="addJs"><script>ucs_personalization/js/personalization.js</script></action> </reference> . . . </catalog_product_view>
On the page view source i can see it takes the js from root\js. Below is page source script. It says that magento looks the js file inside root js directory