Update set.js

Fix animate callback failed bug