Added js to the file main.js