Update script.js

Gallery specific invocation!