a few fx.js changes