Update script.js

Not required with hook ?