Update script.js

WIP