fix animation and add model.js