update script.js GIF prolem fixed