Undo scripts.js regression