Add custom JS to CMS page#

step 1: In magento backend go to: Pages -> Page -> Design Tab -> Layout Update XML#

step 2: Insert the following#

<reference name="head"> <action method="addItem"> <type>skin_js</type><script>folder/js/include-my-js.js</script> </action> </reference>