Non è che nel file zeta.js hai racchiuso la funzione a tra i tag <script>....</script>?