Add closure to scripts/scripts.js