Send data from fb.js to index.html via event.