Update scripts.js

Translation (PLEASE CHECK: I may have damaged the scripts commands)