I'm using magento 1.9 version.
I am creating custom module, which contains some javascript functions to be included.
I defined all javascript functions in seperate js file and included that js in my xml file under app\design\mytheme\default.
Called the js function in my phtml file. It shows the error : (index):403 Uncaught ReferenceError: myFunction is not defined. How to solve this.