Update js/script.js

fix resync