Update scripts.js from Pre-Alpha