Changing the custom.js into my own custom js file

Changing the custom.js into my own custom js file

Also reading what the script is doing