more changes to f.js