add carlos's updated scripts.js