removed async fb init, separated index.js