Update fx.js

fix the animate method overwrite the transform property of style