refactoring of fl.js