Creation of "interaction.js"