Avoid direct definition of JavaScript Functions in a Web page (Javascript/HTML5) | CAST Appmarq