I am developing custom Module in Magento 1. Now I would like to load my module specific JS file when then module enabled. In this regard I used below xml code in a separate xml file named as module name which is placed inside layout folder. My module don't have any controller.
<default>
<reference name="head">
<action method="addJs">
<js>brand_logo.js</js>
</action>
</reference>
</default>
But the JS file is not loading at the time of module loading.
How can I do that??