update to fb.js