Site js file
We recommend using the file at application/configs/site.js for your JavaScript customizations. (Rename file application/configs/site-dist.js to site.js if the file site.js does not exist.)
If you follow this best practice, your customizations won't be lost during an upgrade, and will be easy to track.