better facebook login, moved all js except fb async load to js/charts.js