enhance xo.view.js and xo.animate.js
merge from remote