Commented out useless scripts.js functions