minor fx.js fixes