update to fb demo and analytics.js example