Create logica.js