Update script.js

fixed emote download bug - thanks bamarah!