Update core.js

update anim